package com.gxd.sso.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author:gxd
 * @Description:
 * @Date: 9:01 2018/3/21
 * @Modified By:
 */
@ConfigurationProperties(prefix = "gxd.sso")
@Component("ssoProperties")
public class SsoProperties {
    //认证中心地址 sso-server-domain
    private String serverDomain;
    //认证中心登录地址 sso-server-login-url
    private String serverLoginUrl;
    //认证中心验证地址 sso-auth-url
    private String authUrl;
    //系统编码
    private String systemCode;
    //系统token
    private String systemToken;

    public String getServerDomain() {
        return serverDomain;
    }

    public void setServerDomain(String serverDomain) {
        this.serverDomain = serverDomain;
    }

    public String getServerLoginUrl() {
        return serverLoginUrl;
    }

    public void setServerLoginUrl(String serverLoginUrl) {
        this.serverLoginUrl = serverLoginUrl;
    }

    public String getAuthUrl() {
        return authUrl;
    }

    public void setAuthUrl(String authUrl) {
        this.authUrl = authUrl;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getSystemToken() {
        return systemToken;
    }

    public void setSystemToken(String systemToken) {
        this.systemToken = systemToken;
    }
}
